package com.wanxi.system;

import java.util.Scanner;

public class MaxMethod {
    public static void main(String[] args) {
//        Scanner scanner = new Scanner(System.in);
//        System.out.println("请输入第一个数");
//        int n = scanner.nextInt();
//        System.out.println("请输入第二个数");
//        int m = scanner.nextInt();
//        int max = max(n, m);
//        System.out.println("最大值为：" + max);
        max(1, 2, 1);
    }

    private static Integer max(int n, int m) {
//        return n > m ? n : m;
        max(n, m, 1);
        return null;
    }

    private static void max(int n, int m, int c) {
//        return n > m ? n : m;
        try {
            int i=10/0;
        }catch (Exception e){

        }


        if (n > m){
            System.out.println("n>m");
            return;
        }else {
            System.out.println("n>m");
        }
        System.out.println("aaaa");
        return;
//        System.out.println("111");
    }
}
